<template>
  <div>
    <div class="wangEditor_up">
      <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
        <el-tab-pane label="wangEditor富文本" name="/editor/wangeditorindex">
        </el-tab-pane>
        <!-- <el-tab-pane label="quill富文本" name="/editor/quillindex"> </el-tab-pane> -->
      </el-tabs>
    </div>
    <div class="wangEditor_down">
      <router-view />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeName: "/editor/wangeditorindex",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab.name, "name");
      this.$router.push(tab.name);
    },
  },
};
</script>

<style>
</style>